home *** CD-ROM | disk | FTP | other *** search
- //--><script language="JavaScript">
- function callMap(){
- var coord1 = ''; // coordinates for "Click here"
- var coord2 = ''; // coordinate for (button)
-
- // #### BEGIN g_sTKMRoot DEFINITION ####
- // Start at the beginning of the location and find our document root directory
- var g_sHref = location.href.toLowerCase();
- var g_nEndPos = g_sHref.indexOf('outfitter/');
- // Grab everything up to the end of the word outfitter and add "/tkm/" to set the TKM Root
- var g_sTKMRoot = g_sHref.substring(0, (g_nEndPos + 9)) + '/tkm/';
-
- // #### END g_sTKMRoot DEFINITION ####
-
- switch (map.lang)
- {
- case "au":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '218,349,326,388';
- coord1 = '321,316,392,333';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '111,247,182,264';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '102,213,168,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '104,261,170,278';
- break;
- }
- break;
-
- case "br":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '216,375,324,414';
- coord1 = '375,344,452,362';
- break;
- case "72S_update_app":
- coord2 = '203,273,311,312';
- coord1 = '370,235,449,252';
- break;
- case "73S_already_progress":
- coord2 = '185,292,293,331';
- coord1 = '106,246,175,262';
- break;
- case "74S_please_wait":
- coord2 = '207,325,315,364';
- coord1 = '106,295,175,311';
- break;
- }
- break;
-
- case "ca":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '218,349,326,388';
- coord1 = '321,314,392,331';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '111,247,182,264';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '102,213,168,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '104,261,170,278';
- break;
- }
- break;
-
- case "cafr":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '217,350,325,389';
- coord1 = '323,321,393,338';
- break;
- case "72S_update_app":
- coord2 = '210,269,318,308';
- coord1 = '344,239,414,255';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '104,229,169,246';
- break;
- case "74S_please_wait":
- coord2 = '207,309,315,348';
- coord1 = '105,279,170,297';
- break;
- }
- break;
-
- case "cn":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '217,351,325,390';
- coord1 = '119,299,186,319';
- break;
- case "72S_update_app":
- coord2 = '157,257,265,296';
- coord1 = '248,224,320,241';
- break;
- case "73S_already_progress":
- coord2 = '175,244,283,283';
- coord1 = '100,197,173,214';
- break;
- case "74S_please_wait":
- coord2 = '186,258,294,297';
- coord1 = '101,214,171,231';
- break;
- }
- break;
-
- case "de":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '217,355,325,394';
- coord1 = '334,321,437,338';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '71,248,174,265';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '117,233,199,250';
- break;
- case "74S_please_wait":
- coord2 = '207,309,315,348';
- coord1 = '119,280,198,297';
- break;
- }
- break;
-
- case "es":
- switch (map.imgName){
-
- case "70S_install_tkm":
- coord2 = '217,350,325,389';
- coord1 = '263,322,359,339';
- break;
- case "72S_update_app":
- coord2 = '196,275,304,314';
- coord1 = '297,240,396,257';
- break;
- case "73S_already_progress":
- coord2 = '183,265,291,304';
- coord1 = '136,213,194,230';
- break;
- case "74S_please_wait":
- coord2 = '207,309,315,348';
- coord1 = '138,261,196,278';
- break;
- }
- break;
-
- case "fr":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '217,350,325,389';
- coord1 = '323,321,393,338';
- func = 'doInstall()';
- break;
- case "72S_update_app":
- coord2 = '210,269,318,308';
- coord1 = '344,239,414,255';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '104,229,169,246';
- break;
- case "74S_please_wait":
- coord2 = '207,309,315,348';
- coord1 = '105,279,170,297';
- break;
- }
- break;
-
- case "gb":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '218,349,326,388';
- coord1 = '321,316,392,333';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '111,247,182,264';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '102,213,168,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '104,261,170,278';
- break;
- }
- break;
-
- case "it":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '225,371,333,410';
- coord1 = '276,335,360,353';
- break;
- case "72S_update_app":
- coord2 = '201,258,309,297';
- coord1 = '338,230,421,248';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '96,229,175,246';
- break;
- case "74S_please_wait":
- coord2 = '207,309,315,348';
- coord1 = '97,261,177,278';
- break;
- }
- break;
-
- case "jj":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '217,350,325,389';
- coord1 = '71,315,164,332';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '162,223,255,242';
- break;
- case "73S_already_progress":
- coord2 = '186,273,294,312';
- coord1 = '125,212,220,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '126,258,223,275';
- break;
- }
- break;
-
- case "jp":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '218,349,326,388';
- coord1 = '321,316,392,333';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '111,247,182,264';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '102,213,168,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '104,261,170,278';
- break;
- }
- break;
-
- case "kr":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '217,350,325,389';
- coord1 = '71,305,190,324';
- break;
- case "72S_update_app":
- coord2 = '175,270,283,309';
- coord1 = '141,222,264,239';
- break;
- case "73S_already_progress":
- coord2 = '174,273,282,312';
- coord1 = '84,229,200,247';
- break;
- case "74S_please_wait":
- coord2 = '187,310,295,349';
- coord1 = '309,261,421,279';
- break;
- }
- break;
-
- case "tw":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '216,306,324,345';
- coord1 = '392,273,456,292';
- func = 'doInstall()';
- break;
- case "72S_update_app":
- coord2 = '174,245,282,284';
- coord1 = '70,225,129,244';
- break;
- case "73S_already_progress":
- coord2 = '175,232,283,271';
- coord1 = '111,201,155,219';
- break;
- case "74S_please_wait":
- coord2 = '166,265,274,304';
- coord1 = '114,230,158,248';
- break;
- }
- break;
-
- case "us":
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '218,349,326,388';
- coord1 = '321,314,392,331';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '111,247,182,264';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '102,213,168,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '104,261,170,278';
- break;
- }
- break;
- // Defaults to GB
- default:
- switch (map.imgName){
- case "70S_install_tkm":
- coord2 = '218,349,326,388';
- coord1 = '321,316,392,333';
- break;
- case "72S_update_app":
- coord2 = '175,273,283,312';
- coord1 = '111,247,182,264';
- break;
- case "73S_already_progress":
- coord2 = '175,273,283,312';
- coord1 = '102,213,168,230';
- break;
- case "74S_please_wait":
- coord2 = '207,310,315,349';
- coord1 = '104,261,170,278';
- break;
- }
- break;
-
- }
-
- var sHTML = '';
- sHTML = '<img src="' + g_sTKMRoot + 'scenarios/linkui/'+ map.lang + '/' + map.imgName +'.gif" border="0" usemap="#' + map.imgName + '"></p>' +
- '\n<map name="' + map.imgName + '">' +
- '\n<area shape="rect" coords="' + coord1 + '" href="JavaScript:doCancel();">' +
- '\n<area shape="rect" coords="' + coord2 + '" href="JavaScript:doIt();">' +
- '\n<area shape="default" nohref>' +
- '\n</map>';
-
- document.write(sHTML);
- }
- callMap();
-
-
-